package com.xls.commonlibrary.util;

import android.text.TextUtils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {
    public static String getReadableDate(String timeStamp) {
        String sd2 = "";
        if (!TextUtils.isEmpty(timeStamp)) {
            SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy年MM月dd日 HH时mm分ss秒");
            sd2 = sdf2.format(new Date(Long.parseLong(String.valueOf(timeStamp))));
        }
        return sd2;
    }
}
